package com.hsd.mapper;

import com.hsd.model.RFence;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RFenceMapper {
    int getfencecount();
    int insert(RFence record);
    int insertSelective(RFence record);
    int updateByPrimaryKey(RFence record);
    int deleteByPrimaryKey(Integer fenceId);
    int updateByPrimaryKeySelective(RFence record);

    RFence selectByPrimaryKey(Integer fenceId);

    List<RFence> selectALL();
    List<RFence> findListByPage(@Param(value="start") int start, @Param(value="end") int end);
}
